home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #3
/
Amiga Plus CD - 1997 - No. 03.iso
/
pd
/
programmierung
/
alienbreed3d2_src
/
cheesesauce
/
ab3diipatchidr.s
< prev
next >
Wrap
Text File
|
1997-01-31
|
419b
|
26 lines
;Patch to cancel any Error Report from DOS
FuncToPatch equ _LVOEasyRequestArgs
MakePatch:
move.l 4.w,a6
move.l #IntuiName,a1
move.l #36,d0
jsr _LVOOpenLibrary(a6)
move.l d0,IntuiBase
beq.s IntuiError
move.l IntuiBase,a1
move.l #FuncToPatch,a0
move.l #NewFunction,d0
jsr _LVOSetFunction(a6)
IntuiError:
rts
NewFunction:
move.l #0,d0
rts
IntuiBase: dc.l 0
IntuiName: dc.b "intuition.library",0
even